﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Logistics.Model
{
    /// <summary>
    /// 员工基本信息
    /// </summary>
    public class Basic 
    {

        public int Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Bphone { get; set; }

        /// <summary>
        /// 院校
        /// </summary>
        public string Bacademy { get; set; }

        /// <summary>
        /// 专业
        /// </summary>
        public string Bmajor { get; set; }

        /// <summary>
        /// 家庭住址
        /// </summary>
        public string Bcolumn { get; set; }

        /// <summary>
        /// 学历
        /// </summary>
        public string Education { get; set; }

        /// <summary>
        /// 政治面貌
        /// </summary>
        public string Bpolitics { get; set; }

        /// <summary>
        /// 民族
        /// </summary>
        public string Bnation { get; set; }

        /// <summary>
        /// 籍贯
        /// </summary>
        public string Bnative { get; set; }

        /// <summary>
        /// 婚姻状况
        /// </summary>
        public string MaritalStatus { get; set; }

        /// <summary>
        /// 出生年月
        /// </summary>
        public DateTime Bdate { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Bmailbox { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string Bnumber { get; set; }

        /// <summary>
        /// 职业部门
        /// </summary>
        public int Did { get; set; }

        /// <summary>
        /// 职称职位
        /// </summary>
        public int Tid { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime Bentry { get; set; }= DateTime.Now;

        /// <summary>
        /// 状态
        /// </summary>
        public int Bzt { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Bdatess { get; set; } = DateTime.Now;

        /// <summary>
        /// 部门名称
        /// </summary>
        [NotMapped]
        public string DepName { get; set; }
        /// <summary>
        /// 职位名称
        /// </summary>
        [NotMapped]
        public string TName { get; set; }
    }
}